package com.group.itms.routes.data;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class ObjectGps {

	@DatabaseField(id = true)
	private int id;
	@DatabaseField(foreign = true, foreignAutoRefresh = true)
	private BObject object;
	@DatabaseField
	private float x;
	@DatabaseField
	private float y;
	@DatabaseField
	private float z;
	@DatabaseField
	private boolean isActive;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public BObject getObject() {
		return object;
	}

	public void setObject(BObject object) {
		this.object = object;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public float getZ() {
		return z;
	}

	public void setZ(float z) {
		this.z = z;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

}
